﻿using QLHS.BusLayer;
using QLHS.DTO;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace QLHS
{
    static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main()
        {
            //HocSinhDTO hsDTO = new HocSinhDTO();
            //hsDTO.ID = 9;
            //hsDTO.MaSoHS = "HS03";
            //hsDTO.TenHS = "Nguyễn Văn B";
            //hsDTO.GioiTinh = "Nữ";
            //hsDTO.NgaySinh = new DateTime(1994, 12, 12);
            //hsDTO.DiaChi = "kdfjsk";
            //hsDTO.Email = "dkfjie";
            //HocSinhBUS hsBus = new HocSinhBUS();
            //hsBus.Insert(hsDTO);
            //hsBus.Update(hsDTO);
           // hsBus.Delete(hsDTO);

            //GiaoVienDTO gvDTO = new GiaoVienDTO();
            //gvDTO.TenGV = "Nguyen Van B";
            //gvDTO.MaSoGV = 1;

            //GiaoVienBUS gvBUS = new GiaoVienBUS();
            //gvBUS.Insert(gvDTO);
            //gvBUS.Update(gvDTO);
            //gvBUS.Delete(gvDTO);

            //LopDTO lopDTO = new LopDTO();
            //lopDTO.MaSoLop = 3;
            //lopDTO.TenLop = "10A2";
            //lopDTO.Khoi = 10;
            //lopDTO.Siso = 40;

            //LopBUS lopBus = new LopBUS();
            //lopBus.Insert(lopDTO);
            //lopBus.Update(lopDTO);
            //lopBus.Delete(lopDTO);

            //MonHocDTO mhDTO = new MonHocDTO();
            //mhDTO.TenMH = "Văn";
            //mhDTO.HeSo = 2;
            //mhDTO.MaSoMH = 1;

            //MonHocBUS mhBUS = new MonHocBUS();
            //mhBUS.Insert(mhDTO);
            //mhBUS.Update(mhDTO);
            //mhBUS.Delete(mhDTO);

            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Application.Run(new MainForm());


        }
        
    }
}
